<template>
  <div class="Home-container">
    <img src="http://www.atguigu.com/images/index_new/logo.png" alt="" />
  </div>
</template>

<script setup lang="ts" name="Home">
import { onMounted } from "vue";
import { useRouter } from "vue-router";

// type Props = {}
// defineProps<Props>()
// const emit = defineEmits([])
// const router = useRouter()
// const route = useRoute()
let router = useRouter();
onMounted(() => {
  setTimeout(() => {
    router.push({
      path: "/news",
    });
  }, 3000);
});
</script>

<style scoped lang="scss">
.Home-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
</style>
